package com.jblog.core.model.account.param;

import com.jblog.core.model.BaseParam;
import com.jblog.core.model.account.order.AccountOrder;
import com.jblog.core.model.common.Role;
import com.jblog.core.model.common.Status;

public class AccountParam extends BaseParam {
    private String name;
    private Status status;
    private String email;
    private String activeCode;
    private Role role;
    private AccountOrder order = AccountOrder.ID;

    public AccountParam() {
    }

    public AccountParam(Long id) {
        setId(id);
    }

    public AccountParam(String name) {
        this.name = name;
    }

    public AccountParam(Integer start, Integer end) {
        super(start, end);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Status getStatus() {
        return status;
    }

    public void setStatus(Status status) {
        this.status = status;
    }

    public String getActiveCode() {
        return activeCode;
    }

    public void setActiveCode(String activeCode) {
        this.activeCode = activeCode;
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    public AccountOrder getOrder() {
        return order;
    }

    public void setOrder(AccountOrder order) {
        this.order = order;
    }

}
